//---------------------------------------------------------------------------

#ifndef pose_kidH
#define pose_kidH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Buttons.hpp>
#include <Dialogs.hpp>
#include <Menus.hpp>
#include <Grids.hpp>
#include <jpeg.hpp>
#include "pies.h"
#include <ComCtrls.hpp>
//---------------------------------------------------------------------------
class TFormPoseKid : public TForm
{
__published:	// IDE-managed Components
        TButton *Button_ok;
        TButton *Button_cancle;
        TButton *Button_all;
        TButton *Button_L;
        TButton *Button_R;
        TButton *Button_check;
        TButton *Button13;
        TButton *Button14;
        TButton *Button15;
        TButton *Button16;
        TComboBox *ComboBoxNum;
        TLabel *Label1;
        TButton *ButtonOpen;
        TButton *ButtonSave;
	TButton *Button30;
	TButton *Button17;
	TButton *Button24;
	TButton *Button23;
	TButton *Button18;
	TButton *Button7;
	TButton *Button8;
	TButton *Button4;
	TButton *Button3;
	TButton *Button12;
	TButton *Button11;
	TButton *Button10;
	TButton *Button9;
	TButton *Button5;
	TButton *Button6;
	TButton *Button2;
	TButton *Button1;
	TButton *Button19;
	TButton *Button28;
	TButton *Button26;
	TButton *Button20;
	TButton *Button31;
	TGroupBox *GroupBox1;
	TShape *Shape2;
	TEdit *Edit2;
	TScrollBar *ScrollBar2;
	TCheckBox *CheckBox2;
	TButton *Button27;
	TButton *Button25;
	TGroupBox *GroupBox0;
	TShape *Shape1;
	TCheckBox *CheckBox1;
	TButton *Button21;
	TEdit *Edit1;
	TButton *Button22;
	TScrollBar *ScrollBar1;
	TGroupBox *GroupBox2;
	TShape *Shape3;
	TEdit *Edit3;
	TScrollBar *ScrollBar3;
	TCheckBox *CheckBox3;
	TButton *Button33;
	TButton *Button34;
	TGroupBox *GroupBox4;
	TShape *Shape4;
	TEdit *Edit5;
	TScrollBar *ScrollBar5;
	TCheckBox *CheckBox5;
	TButton *Button35;
	TButton *Button36;
	TGroupBox *GroupBox21;
	TShape *Shape5;
	TEdit *Edit22;
	TScrollBar *ScrollBar22;
	TCheckBox *CheckBox22;
	TButton *Button37;
	TButton *Button38;
	TGroupBox *GroupBox7;
	TShape *Shape8;
	TEdit *Edit8;
	TScrollBar *ScrollBar8;
	TCheckBox *CheckBox8;
	TButton *Button43;
	TButton *Button44;
	TGroupBox *GroupBox22;
	TShape *Shape9;
	TEdit *Edit23;
	TScrollBar *ScrollBar23;
	TCheckBox *CheckBox23;
	TButton *Button45;
	TButton *Button46;
	TGroupBox *GroupBox9;
	TShape *Shape11;
	TEdit *Edit10;
	TScrollBar *ScrollBar10;
	TCheckBox *CheckBox10;
	TButton *Button49;
	TButton *Button50;
	TGroupBox *GroupBox15;
	TShape *Shape12;
	TEdit *Edit16;
	TScrollBar *ScrollBar16;
	TCheckBox *CheckBox16;
	TButton *Button51;
	TButton *Button52;
	TGroupBox *GroupBox3;
	TShape *Shape7;
	TCheckBox *CheckBox4;
	TButton *Button29;
	TEdit *Edit4;
	TButton *Button32;
	TScrollBar *ScrollBar4;
	TGroupBox *GroupBox6;
	TShape *Shape13;
	TCheckBox *CheckBox7;
	TButton *Button41;
	TEdit *Edit7;
	TButton *Button42;
	TScrollBar *ScrollBar7;
	TGroupBox *GroupBox10;
	TShape *Shape14;
	TCheckBox *CheckBox11;
	TButton *Button53;
	TEdit *Edit11;
	TButton *Button54;
	TScrollBar *ScrollBar11;
	TGroupBox *GroupBox12;
	TShape *Shape15;
	TCheckBox *CheckBox13;
	TButton *Button55;
	TEdit *Edit13;
	TButton *Button56;
	TScrollBar *ScrollBar13;
	TGroupBox *GroupBox13;
	TShape *Shape16;
	TCheckBox *CheckBox14;
	TButton *Button57;
	TEdit *Edit14;
	TButton *Button58;
	TScrollBar *ScrollBar14;
	TGroupBox *GroupBox11;
	TShape *Shape17;
	TEdit *Edit12;
	TScrollBar *ScrollBar12;
	TCheckBox *CheckBox12;
	TButton *Button59;
	TButton *Button60;
	TGroupBox *GroupBox14;
	TShape *Shape18;
	TEdit *Edit15;
	TScrollBar *ScrollBar15;
	TCheckBox *CheckBox15;
	TButton *Button61;
	TButton *Button62;
	TGroupBox *GroupBox16;
	TShape *Shape19;
	TCheckBox *CheckBox17;
	TButton *Button63;
	TEdit *Edit17;
	TButton *Button64;
	TScrollBar *ScrollBar17;
	TGroupBox *GroupBox18;
	TShape *Shape20;
	TCheckBox *CheckBox19;
	TButton *Button65;
	TEdit *Edit19;
	TButton *Button66;
	TScrollBar *ScrollBar19;
	TGroupBox *GroupBox19;
	TShape *Shape21;
	TCheckBox *CheckBox20;
	TButton *Button67;
	TEdit *Edit20;
	TButton *Button68;
	TScrollBar *ScrollBar20;
	TGroupBox *GroupBox17;
	TShape *Shape22;
	TEdit *Edit18;
	TScrollBar *ScrollBar18;
	TCheckBox *CheckBox18;
	TButton *Button69;
	TButton *Button70;
	TGroupBox *GroupBox20;
	TShape *Shape23;
	TEdit *Edit21;
	TScrollBar *ScrollBar21;
	TCheckBox *CheckBox21;
	TButton *Button71;
	TButton *Button72;
	TGroupBox *GroupBox5;
	TShape *Shape6;
	TCheckBox *CheckBox6;
	TButton *Button39;
	TEdit *Edit6;
	TButton *Button40;
	TScrollBar *ScrollBar6;
	TGroupBox *GroupBox8;
	TShape *Shape10;
	TCheckBox *CheckBox9;
	TButton *Button47;
	TEdit *Edit9;
	TButton *Button48;
	TScrollBar *ScrollBar9;
	TComboBox *ComboBox_LegType;
	TLabel *Label5;
	TShape *Shape_BackGround;
	TPageControl *PageControl_Config;
	TTabSheet *TabSheet1;
	TTabSheet *TabSheet2;
	TOpenDialog *OpenDialog1;
	TSaveDialog *SaveDialog1;
	TTimer *Timer1;
	TTimer *Timer_UpdateBattery;
	TTimer *Timer_rd;
	TTimer *Timer_send;
	TGroupBox *GroupBoxMotorConfig;
	TLabel *Label2;
	TLabel *Label3;
	TLabel *Label4;
	TLabel *Label_GBs;
	TComboBox *ComboBox_MotorDir;
	TComboBox *ComboBox_PartDriven;
	TEdit *Edit_MotorID;
	TEdit *Edit_MotorRPM;
	TButton *Button_SetConfig;
	TGroupBox *GroupBoxStatus;
	TLabel *V1;
	TLabel *V2;
	TLabel *V3;
	TStaticText *StaticText24;
	TStaticText *StaticText25;
	TStaticText *StaticText26;
	TImage *Image1;
	TGroupBox *GroupBox23;
	TShape *Shape24;
	TShape *Shape25;
	TPie *Pie_NextJointAngle;
	TLabel *Label6;
	TLabel *Label8;
	TLabel *Label7;
	TEdit *Edit_NextJointAngle;
	TLabel *Label9;
	TLabel *Label10;
	TComboBox *ComboBox_Battery;
	TGroupBox *GroupBoxLR;
	TButton *ButtonSyncLR;
        void __fastcall Timer1Timer(TObject *Sender);
        void __fastcall ScrollBar4Change(TObject *Sender);
        void __fastcall CheckBox4Click(TObject *Sender);
        void __fastcall FormCreate(TObject *Sender);
        void __fastcall Edit4KeyPress(TObject *Sender, char &Key);
        void __fastcall ScrollBar1Change(TObject *Sender);
        void __fastcall ScrollBar2Change(TObject *Sender);
        void __fastcall ScrollBar5Change(TObject *Sender);
        void __fastcall ScrollBar6Change(TObject *Sender);
        void __fastcall ScrollBar7Change(TObject *Sender);
        void __fastcall ScrollBar8Change(TObject *Sender);
        void __fastcall ScrollBar9Change(TObject *Sender);
        void __fastcall ScrollBar3Change(TObject *Sender);
        void __fastcall ScrollBar10Change(TObject *Sender);
        void __fastcall ScrollBar16Change(TObject *Sender);
        void __fastcall ScrollBar11Change(TObject *Sender);
        void __fastcall ScrollBar12Change(TObject *Sender);
        void __fastcall ScrollBar13Change(TObject *Sender);
        void __fastcall ScrollBar14Change(TObject *Sender);
        void __fastcall ScrollBar15Change(TObject *Sender);
        void __fastcall ScrollBar17Change(TObject *Sender);
        void __fastcall ScrollBar18Change(TObject *Sender);
        void __fastcall ScrollBar19Change(TObject *Sender);
        void __fastcall ScrollBar20Change(TObject *Sender);
        void __fastcall ScrollBar21Change(TObject *Sender);
        void __fastcall CheckBox1Click(TObject *Sender);
        void __fastcall CheckBox2Click(TObject *Sender);
        void __fastcall CheckBox3Click(TObject *Sender);
        void __fastcall CheckBox5Click(TObject *Sender);
        void __fastcall CheckBox6Click(TObject *Sender);
        void __fastcall CheckBox7Click(TObject *Sender);
        void __fastcall CheckBox8Click(TObject *Sender);
        void __fastcall CheckBox22Click(TObject *Sender);
        void __fastcall CheckBox10Click(TObject *Sender);
        void __fastcall CheckBox11Click(TObject *Sender);
        void __fastcall CheckBox12Click(TObject *Sender);
        void __fastcall CheckBox13Click(TObject *Sender);
        void __fastcall CheckBox14Click(TObject *Sender);
        void __fastcall CheckBox15Click(TObject *Sender);
        void __fastcall CheckBox16Click(TObject *Sender);
        void __fastcall CheckBox17Click(TObject *Sender);
        void __fastcall CheckBox18Click(TObject *Sender);
        void __fastcall CheckBox19Click(TObject *Sender);
        void __fastcall CheckBox20Click(TObject *Sender);
        void __fastcall CheckBox21Click(TObject *Sender);
        void __fastcall Edit1KeyPress(TObject *Sender, char &Key);
        void __fastcall Edit2KeyPress(TObject *Sender, char &Key);
        void __fastcall Edit3KeyPress(TObject *Sender, char &Key);
        void __fastcall Edit5KeyPress(TObject *Sender, char &Key);
        void __fastcall Edit6KeyPress(TObject *Sender, char &Key);
        void __fastcall Edit7KeyPress(TObject *Sender, char &Key);
        void __fastcall Edit8KeyPress(TObject *Sender, char &Key);
        void __fastcall Edit9KeyPress(TObject *Sender, char &Key);
        void __fastcall Edit10KeyPress(TObject *Sender, char &Key);
        void __fastcall Edit11KeyPress(TObject *Sender, char &Key);
        void __fastcall Edit12KeyPress(TObject *Sender, char &Key);
        void __fastcall Edit13KeyPress(TObject *Sender, char &Key);
        void __fastcall Edit14KeyPress(TObject *Sender, char &Key);
        void __fastcall Edit15KeyPress(TObject *Sender, char &Key);
        void __fastcall Edit16KeyPress(TObject *Sender, char &Key);
        void __fastcall Edit17KeyPress(TObject *Sender, char &Key);
        void __fastcall Edit18KeyPress(TObject *Sender, char &Key);
        void __fastcall Edit19KeyPress(TObject *Sender, char &Key);
        void __fastcall Edit20KeyPress(TObject *Sender, char &Key);
        void __fastcall Edit21KeyPress(TObject *Sender, char &Key);
        void __fastcall Edit22KeyPress(TObject *Sender, char &Key);
        void __fastcall Edit23KeyPress(TObject *Sender, char &Key);
        void __fastcall ScrollBar22Change(TObject *Sender);
        void __fastcall ScrollBar23Change(TObject *Sender);
        void __fastcall Timer_UpdateBatteryTimer(TObject *Sender);
        void __fastcall Button_okClick(TObject *Sender);
        void __fastcall Button_cancleClick(TObject *Sender);
        void __fastcall Button_allClick(TObject *Sender);
        void __fastcall Button_LClick(TObject *Sender);
        void __fastcall Button_RClick(TObject *Sender);
        void __fastcall Button_checkClick(TObject *Sender);
        void __fastcall FormHide(TObject *Sender);
        void __fastcall Button1Click(TObject *Sender);
        void __fastcall Button2Click(TObject *Sender);
        void __fastcall Button4Click(TObject *Sender);
        void __fastcall Button3Click(TObject *Sender);
        void __fastcall Button6Click(TObject *Sender);
        void __fastcall Button5Click(TObject *Sender);
        void __fastcall Button8Click(TObject *Sender);
        void __fastcall Button7Click(TObject *Sender);
        void __fastcall Button9Click(TObject *Sender);
        void __fastcall Button10Click(TObject *Sender);
        void __fastcall Button11Click(TObject *Sender);
        void __fastcall Button12Click(TObject *Sender);
        void __fastcall Button13Click(TObject *Sender);
        void __fastcall Button14Click(TObject *Sender);
        void __fastcall Button15Click(TObject *Sender);
        void __fastcall Button16Click(TObject *Sender);
        void __fastcall Timer_sendTimer(TObject *Sender);
        void __fastcall Timer_rdTimer(TObject *Sender);
        void __fastcall Button17Click(TObject *Sender);
        void __fastcall Button18Click(TObject *Sender);
        void __fastcall Button19Click(TObject *Sender);
        void __fastcall Button20Click(TObject *Sender);
        void __fastcall CheckBox9Click(TObject *Sender);
        void __fastcall CheckBox23Click(TObject *Sender);
        void __fastcall Button22Click(TObject *Sender);
        void __fastcall Button21Click(TObject *Sender);
        void __fastcall Button25Click(TObject *Sender);
        void __fastcall Button27Click(TObject *Sender);
        void __fastcall Button63Click(TObject *Sender);
        void __fastcall Button61Click(TObject *Sender);
        void __fastcall Button29Click(TObject *Sender);
        void __fastcall Button32Click(TObject *Sender);
        void __fastcall Button44Click(TObject *Sender);
        void __fastcall Button41Click(TObject *Sender);
        void __fastcall Button58Click(TObject *Sender);
        void __fastcall Button60Click(TObject *Sender);
        void __fastcall Button33Click(TObject *Sender);
        void __fastcall Button36Click(TObject *Sender);
        void __fastcall Button39Click(TObject *Sender);
        void __fastcall Button37Click(TObject *Sender);
        void __fastcall Button51Click(TObject *Sender);
        void __fastcall Button50Click(TObject *Sender);
        void __fastcall Button69Click(TObject *Sender);
        void __fastcall Button72Click(TObject *Sender);
		void __fastcall Button73Click(TObject *Sender);
		void __fastcall Button76Click(TObject *Sender);
        void __fastcall Button81Click(TObject *Sender);
        void __fastcall Button84Click(TObject *Sender);
        void __fastcall Button104Click(TObject *Sender);
        void __fastcall Button101Click(TObject *Sender);
        void __fastcall Button108Click(TObject *Sender);
        void __fastcall Button105Click(TObject *Sender);
        void __fastcall Button110Click(TObject *Sender);
        void __fastcall Button109Click(TObject *Sender);
        void __fastcall Button65Click(TObject *Sender);
        void __fastcall Button68Click(TObject *Sender);
        void __fastcall Button77Click(TObject *Sender);
        void __fastcall Button80Click(TObject *Sender);
        void __fastcall Button85Click(TObject *Sender);
        void __fastcall Button88Click(TObject *Sender);
        void __fastcall Button92Click(TObject *Sender);
        void __fastcall Button90Click(TObject *Sender);
        void __fastcall Button96Click(TObject *Sender);
        void __fastcall Button93Click(TObject *Sender);
        void __fastcall Button97Click(TObject *Sender);
        void __fastcall Button99Click(TObject *Sender);
        void __fastcall Button54Click(TObject *Sender);
        void __fastcall Button55Click(TObject *Sender);
        void __fastcall Button45Click(TObject *Sender);
        void __fastcall Button47Click(TObject *Sender);
        void __fastcall ButtonSyncLRClick(TObject *Sender);
        void __fastcall Button24Click(TObject *Sender);
        void __fastcall Button23Click(TObject *Sender);
        void __fastcall Button28Click(TObject *Sender);
        void __fastcall Button26Click(TObject *Sender);
        void __fastcall FormShow(TObject *Sender);
        void __fastcall ButtonOpenClick(TObject *Sender);
        void __fastcall ButtonSaveClick(TObject *Sender);
		void __fastcall Button30Click(TObject *Sender);
		void __fastcall Button31Click(TObject *Sender);
	void __fastcall GroupBox0DblClick(TObject *Sender);
	void __fastcall GroupBox1DblClick(TObject *Sender);
	void __fastcall GroupBox10DblClick(TObject *Sender);
	void __fastcall GroupBox11DblClick(TObject *Sender);
	void __fastcall GroupBox12DblClick(TObject *Sender);
	void __fastcall GroupBox13DblClick(TObject *Sender);
	void __fastcall GroupBox14DblClick(TObject *Sender);
	void __fastcall GroupBox15DblClick(TObject *Sender);
	void __fastcall GroupBox16DblClick(TObject *Sender);
	void __fastcall GroupBox17DblClick(TObject *Sender);
	void __fastcall GroupBox18DblClick(TObject *Sender);
	void __fastcall GroupBox19DblClick(TObject *Sender);
	void __fastcall GroupBox2DblClick(TObject *Sender);
	void __fastcall GroupBox20DblClick(TObject *Sender);
	void __fastcall GroupBox21DblClick(TObject *Sender);
	void __fastcall GroupBox22DblClick(TObject *Sender);
	void __fastcall GroupBox3DblClick(TObject *Sender);
	void __fastcall GroupBox4DblClick(TObject *Sender);
	void __fastcall GroupBox5DblClick(TObject *Sender);
	void __fastcall GroupBox6DblClick(TObject *Sender);
	void __fastcall GroupBox7DblClick(TObject *Sender);
	void __fastcall GroupBox8DblClick(TObject *Sender);
	void __fastcall GroupBox9DblClick(TObject *Sender);
	void __fastcall Edit_MotorIDKeyPress(TObject *Sender, wchar_t &Key);
	void __fastcall Edit_MotorRPMKeyPress(TObject *Sender, wchar_t &Key);
	void __fastcall ComboBox_MotorDirChange(TObject *Sender);
	void __fastcall ComboBox_PartDrivenChange(TObject *Sender);
	void __fastcall ComboBox_LegTypeChange(TObject *Sender);
	void __fastcall Button_SetConfigClick(TObject *Sender);
	void __fastcall Edit_NextJointAngleKeyPress(TObject *Sender, wchar_t &Key);
	void __fastcall Pie_NextJointAngleMouseDown(TObject *Sender, TMouseButton Button,
          TShiftState Shift, int X, int Y);
	void __fastcall ComboBox_BatteryChange(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall TFormPoseKid(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFormPoseKid *FormPoseKid;
//---------------------------------------------------------------------------
#endif
